package dao

import (
	"time"
)

// 这是 LiNoticeMessage 的全局公开dao对象
var LiNoticeMessageDao = liNoticeMessageDao{}

// 这是 li_notice_message表 的实体类
type LiNoticeMessage struct {
	Id            int       `json:"id" form:"id" v:"id"`
	CreateBy      string    `json:"create_by" form:"create_by" v:"create_by"`
	CreateTime    time.Time `json:"create_time" form:"create_time" v:"create_time"`
	DeleteFlag    bool      `json:"delete_flag" form:"delete_flag" v:"delete_flag" gm:"delete_flag"`
	UpdateBy      string    `json:"update_by" form:"update_by" v:"update_by"`
	UpdateTime    time.Time `json:"update_time" form:"update_time" v:"update_time"`
	NoticeContent string    `json:"notice_content" form:"notice_content" v:"notice_content"`
	NoticeNode    string    `json:"notice_node" form:"notice_node" v:"notice_node"`
	NoticeStatus  string    `json:"notice_status" form:"notice_status" v:"notice_status"`
	NoticeTitle   string    `json:"notice_title" form:"notice_title" v:"notice_title"`
	Variable      string    `json:"variable" form:"variable" v:"variable"`
}

// 注意:这是 LiNoticeMessage 的私有dao对象
type liNoticeMessageDao struct {
	Insert func(arg LiNoticeMessage) int             //插入一条记录
	Update func(arg LiNoticeMessage) int             //更新一条记录
	Delete func(arg LiNoticeMessage) int             //删除一条记录
	Select func(arg LiNoticeMessage) LiNoticeMessage //获取一条记录
}
